
/* Events */
// arg0 - event name
// arg1 - event description

createEvent("onclick", "this event is triggered when the entity is clicked on.");
createEvent("onquestionwrong", "this event is triggered when the Question is answered wrong.");
createEvent("onquestionright", "this event is triggered when the Question is answered right.");

/* Actions */
// arg0 - action name
// arg1 - action description

createAction("playsound", "this action causes the entity to play a sound.");
createAction("moveto", "this action causes the target entity to move towards a goal");
createAction("spin", "this action causes the target entity to spin");
createAction("playanimation", "this action causes the target entity to play its animation");

